package com.wang.entity;

import java.time.LocalDate;
import java.util.Date;

/**
 * @Classname User
 * @Description TODO
 * @Date 2024/5/13 10:58
 * @Created by pc
 */
public class User {
    private String username;
    private String password;
    private String gender;
    private Integer age;
    private Date birthday;
    private LocalDate birthday2;

    public User() {
    }

    public User(String username, String password, String gender, Integer age, Date birthday, LocalDate birthday2) {
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.age = age;
        this.birthday = birthday;
        this.birthday2 = birthday2;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public LocalDate getBirthday2() {
        return birthday2;
    }

    public void setBirthday2(LocalDate birthday2) {
        this.birthday2 = birthday2;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", birthday=" + birthday +
                ", birthday2=" + birthday2 +
                '}';
    }
}
